home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-07-20 | 611 b | 32 lines |
- #
- # @(#) Makefile,v 1.6 1993/05/13 21:55:32 lasse Exp
- #
- CFLIB = ../lib/libcforms.a
- CFINCLUDE = ../include/cforms.h
- CFLAGS = -I../include
- LIBS = $(CFLIB) -lcurses
- CFC = ../bin/cfc
- CFL = ../bin/cfl
- COMPILE.c = $(CC) -c $(CFLAGS)
- OFILES = cforms.o main.o
-
- .SUFFIXES: .frm .c .o
- .frm.c:
- $(CFC) $<
-
- install: $(CFLIB)
- $(CFLIB): $(CFLIB)(pic_dirent.o)
- $(RANLIB) $(CFLIB)
- $(CFLIB)(pic_dirent.o): pic_dirent.c
-
- test: $(OFILES) $(CFLIB) $(CFINCLUDE)
- $(CC) $(CFLAGS) -o $@ $(OFILES) $(LIBS)
-
- cforms.o: phony
- $(CFL) pic_dirent.frm
-
- clean: phony
- rm -f *.o pic_dirent.c test cforms.c
-
- phony:
-